{template "header.html"}

<div class="page-wrapper-row full-height">
    <div class="page-wrapper-middle">
        <div class="page-head">
            <div class="container">
                <div class="page-title">
                    欢迎使用FastAdminCMS建站程序，移动端CMS程序、多终端CMS程序
                </div>
            </div>
        </div>
        <div class="page-content">
            <div class="container">
                <div class="page-content-inner">



                    <div class="row">
                        <div class="col-md-4">
                            <div class="bg-white">
                                <div id="myCarousel" class="carousel slide" data-ride="carousel">
                                    <!-- 幻灯图片 -->
                                    <div class="carousel-inner">
                                        <div class="item active">
                                            <a href="http://www.FastAdminCMS.com" target="_blank"><img src="{HOME_THEME_PATH}web/ad/1.jpg" style="width:360px;height:245px" /></a>
                                        </div>
                                        <div class="item ">
                                            <a href="http://www.FastAdminCMS.com" target="_blank"><img src="{HOME_THEME_PATH}web/ad/2.jpg" style="width:360px;height:245px" /></a>
                                        </div>
                                    </div>
                                    <ol class="carousel-indicators">
                                        <li data-target="#myCarousel" data-slide-to="0" class="active"></li>
                                        <li data-target="#myCarousel" data-slide-to="1" class="active"></li>
                                    </ol>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-8">
                            <div class="portlet light" style="height: 245px;">
                                <div class="portlet-title ">
                                    <div class="row">
                                        <div class="col-md-12">
                                            <h4><a href="http://www.oemcms.net" target="_blank" class="title">FastAdminCMS基于CI4框架开发的PHP7多种终端建站程序</a></h4>

                                        </div>
                                    </div>
                                </div>
                                <div class="portlet-body">
                                    <div class="row">
                                        <div class="col-md-6">
                                            <ul class="list-unstyled">
                                                <!--调用新闻模块的最新7条-->
                                                {module module=news order=updatetime num=7}
                                                <li style="line-height: 23px"><span class="badge badge-empty badge-success"></span>&nbsp;<a href="{$t.url}" class="title">{dr_strcut($t.title, 20)}</a></li>
                                                {/module}
                                            </ul>
                                        </div>
                                        <div class="col-md-6">
                                            <ul class="list-unstyled">
                                                <!--调用新闻模块的最新从7开始数的7条-->
                                                {module module=news order=updatetime num=7,7}
                                                <li style="line-height: 23px"><span class="badge badge-empty badge-success"></span>&nbsp;<a href="{$t.url}" class="title">{dr_strcut($t.title, 20)}</a></li>
                                                {/module}
                                            </ul>
                                        </div>
                                    </div>
                                </div>
                            </div>

                        </div>
                    </div>


                    <!-- 调用新闻模块 -->
                    <div class="row">
                        <div class="col-lg-12">
                            <div class="portlet light">
                                <div class="portlet-title">
                                    <div class="caption">
                                        <i class=" icon-layers font-green"></i>
                                        <span class="caption-subject bold uppercase font-green"> 新闻模块</span>
                                    </div>
                                </div>
                                <div class="portlet-body">
                                    <div class="row">
                                        <div class="col-lg-7">
                                            <div class="row">
                                                <div class="col-md-6">
                                                    <ul class="list-unstyled fc-list-row">
                                                        <!-- 调用新闻模块的最新10条数据 -->
                                                        {module module=news order=updatetime num=9}
                                                        <li><span class="badge badge-empty badge-success"></span>&nbsp;<a href="{$t.url}" class="title">{dr_strcut($t.title, 20)}</a></li>
                                                        {/module}
                                                    </ul>
                                                </div>
                                                <div class="col-md-6">
                                                    <ul class="list-unstyled fc-list-row">
                                                        <!-- 调用新闻模块浏览量最高的数据 -->
                                                        {module module=news order=hits num=9}
                                                        <li><span class="badge badge-empty badge-success"></span>&nbsp;<a href="{$t.url}" class="title">{dr_strcut($t.title, 20)}</a></li>
                                                        {/module}
                                                    </ul>
                                                </div>
                                            </div>

                                        </div>
                                        <div class="col-lg-5">
                                            <div class="row">
                                                <!-- 调用新闻模块带“图片”的数据 -->
                                                {module thumb=1 module=news order=updatetime num=6}
                                                <div class="col-sm-4 fc-list-image">
                                                    <div class="tile-container">
                                                        <div class="tile-thumbnail">
                                                            <a href="{$t.url}" ><img src="{dr_thumb($t.thumb, 120, 75)}" height="75"></a>
                                                        </div>
                                                        <div class="tile-title">
                                                            <h5><a href="{$t.url}" class="title">{dr_strcut($t.title, 7)}</a></h5>
                                                        </div>
                                                    </div>
                                                </div>
                                                {/module}
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>


                </div>
            </div>
        </div>
    </div>
</div>

<script>
    (function(){
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        }
        else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
</script>

{template "footer.html"}